# uncompyle6 version 2.15.1
# Python bytecode 2.7 (62211)
# Decompiled from: Python 2.7.10 (default, Jul  1 2017, 13:36:56) 
# [GCC 4.4.6 20110731 (Red Hat 4.4.6-4)]
# Embedded file name: /data/bkce/open_paas/paas/templates_module/app/create.html.py
# Compiled at: 2018-01-02 11:58:59
from mako import runtime, filters, cache
UNDEFINED = runtime.UNDEFINED
STOP_RENDERING = runtime.STOP_RENDERING
__M_dict_builtin = dict
__M_locals_builtin = locals
_magic_number = 10
_modified_time = 1514865539.697138
_enable_loop = True
_template_filename = '/data/bkce/open_paas/paas/templates/app/create.html'
_template_uri = 'app/create.html'
_source_encoding = 'utf-8'
_exports = [u'right_content']

def _mako_get_namespace(context, name):
    try:
        return context.namespaces[(__name__, name)]
    except KeyError:
        _mako_generate_namespaces(context)
        return context.namespaces[(__name__, name)]


def _mako_generate_namespaces(context):
    pass


def _mako_inherit(template, context):
    _mako_generate_namespaces(context)
    return runtime._inherit_from(context, u'/base_center.html', _template_uri)


def render_body(context, **pageargs):
    __M_caller = context.caller_stack._push_frame()
    try:
        __M_locals = __M_dict_builtin(pageargs=pageargs)
        CSS_SUFFIX = context.get('CSS_SUFFIX', UNDEFINED)
        csrf_token = context.get('csrf_token', UNDEFINED)
        STATIC_VERSION = context.get('STATIC_VERSION', UNDEFINED)

        def right_content():
            return render_right_content(context._locals(__M_locals))

        STATIC_URL = context.get('STATIC_URL', UNDEFINED)
        SITE_URL = context.get('SITE_URL', UNDEFINED)
        JS_SUFFIX = context.get('JS_SUFFIX', UNDEFINED)
        error = context.get('error', UNDEFINED)
        __M_writer = context.writer()
        __M_writer(u'<!-- \u5e94\u7528 \u521b\u5efa\u9875\u9762  -->\n')
        __M_writer(u'\n')
        if 'parent' not in context._data or not hasattr(context._data['parent'], 'right_content'):
            context['self'].right_content(**pageargs)
        __M_writer(u'\n<!-- \u53f3\u4fa7\u5185\u5bb9 end -->\n\n<script src="')
        __M_writer(unicode(STATIC_URL))
        __M_writer(u'js/paas_app.')
        __M_writer(unicode(JS_SUFFIX))
        __M_writer(u'"></script>\n<script>\n// \u91cd\u7f6e \u662f\u6e05\u7a7a\u8be6\u7ec6\u63cf\u8ff0\n$("#reset_btn").click(function(){\n  $(\'.tips\').text(\'\');\n})\n</script>')
        return ''
    finally:
        context.caller_stack._pop_frame()


def render_right_content(context, **pageargs):
    __M_caller = context.caller_stack._push_frame()
    try:
        CSS_SUFFIX = context.get('CSS_SUFFIX', UNDEFINED)
        csrf_token = context.get('csrf_token', UNDEFINED)
        STATIC_VERSION = context.get('STATIC_VERSION', UNDEFINED)

        def right_content():
            return render_right_content(context)

        STATIC_URL = context.get('STATIC_URL', UNDEFINED)
        SITE_URL = context.get('SITE_URL', UNDEFINED)
        error = context.get('error', UNDEFINED)
        __M_writer = context.writer()
        __M_writer(u'\n<link rel="stylesheet" type="text/css" href="')
        __M_writer(unicode(STATIC_URL))
        __M_writer(u'css/paas_profile.')
        __M_writer(unicode(CSS_SUFFIX))
        __M_writer(u'?v=')
        __M_writer(unicode(STATIC_VERSION))
        __M_writer(u'">\n<!-- \u53f3\u4fa7\u5185\u5bb9 start -->\n<div class="box-info full">\n  <div class="main-header">\n    <span>\u57fa\u672c\u4fe1\u606f\u586b\u5199</span>\n  </div>\n  <div class="create_flow">\n      <!--     \u9519\u8bef\u63d0\u793a\u4fe1\u606f     -->\n')
        if error:
            __M_writer(u'        <div class="the-notes danger">\n          <span class="">\u5e94\u7528\u521b\u5efa\u5931\u8d25\uff0c\u8bf7\u91cd\u65b0\u586b\u5199\uff01\u9519\u8bef\u4fe1\u606f\uff1a')
            __M_writer(unicode(error))
            __M_writer(u'!</span>\n        </div>\n')
        __M_writer(u'      <!-- \u5e94\u7528 \u4fe1\u606f\u586b\u5199     -->\n      <div id="app_info">\n        <form  id="form_app" style="font-family:\u5fae\u8f6f\u96c5\u9ed1" method="post" action=\'')
        __M_writer(unicode(SITE_URL))
        __M_writer(u'app/create/\'  onsubmit="return APP_CREATE.validate_form(this)">\n          <input type=\'hidden\' name=\'csrfmiddlewaretoken\' value=\'')
        __M_writer(unicode(csrf_token))
        __M_writer(u"'>\n          ")
        runtime._include_file(context, u'create_detail.part', _template_uri)
        __M_writer(u'\n        </form>\n      </div>\n  </div>\n</div>\n')
        return ''
    finally:
        context.caller_stack._pop_frame()